home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
DEMO_VGA
/
VGAFONTS.LZH
/
FONTLOAD.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-08-06
|
534b
|
29 lines
; FONTLOAD.ASM -- Loads a customized font
CSEG Segment
Assume CS:CSEG, DS:CSEG, ES:CSEG
Org 0100h
Entry: Mov AX, 1100h ; Load font
Mov BH, 0Eh ; Bytes/Char
Mov BL, 00h ; Block
Mov CX, 0100h ; Number Chars
Mov DX, 0000h ; Start Char
Mov BP, Offset Font ; Address
Int 10h
Int 20h
Font Label Byte
Include MYFONT ; Your font file name goes here
CSEG EndS
End Entry
Figure 14. FONTLOAD loads a customized font in
the format produced by FONT2DB. This program
requires a Macro Assembler.